/*
 * @Description: 主体
 * @Author: iamsmiling
 * @Date: 2021-06-08 21:42:01
 * @LastEditTime: 2021-06-08 21:53:52
 */
import 'package:credit_business_circle/R/R.dart';
import 'package:flutter/material.dart';

class CommunityGroupBody extends StatelessWidget {
  const CommunityGroupBody({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: R.dimen.width,
      color: R.color.ffffffff,
      padding: EdgeInsets.only(
          left: R.dimen.dp17,
          right: R.dimen.dp23,
          top: R.dimen.dp32,
          bottom: R.dimen.dp40),
      margin: EdgeInsets.only(top: R.dimen.dp10),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Text(
            "社群规则：",
            style: TextStyle(
                fontSize: R.dimen.sp15,
                color: R.color.ff111111,
                fontWeight: FontWeight.w600),
          ),
          DefaultTextStyle(
              style: TextStyle(
                  fontSize: R.dimen.sp13, color: R.color.ff333333, height: 2),
              child: Column(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Row(
                    children: [
                      Text(
                        "*",
                        style: TextStyle(color: R.color.fffe670c),
                      ),
                      Text("进群后请把昵称修改为主营业务（定期清理不规范昵称）"),
                    ],
                  ),
                  Row(
                    children: [
                      Text(
                        "*",
                        style: TextStyle(color: R.color.fffe670c),
                      ),
                      Text("群内严禁乱发砍价、名片、二维码、小程序、链接等广告"),
                    ],
                  ),
                  Row(
                    children: [
                      Text(
                        "*",
                        style: TextStyle(color: R.color.fffe670c),
                      ),
                      Text("群内严禁讨论政治、涉黄、涉赌等违法言论"),
                    ],
                  )
                ],
              )),
          Container(
              margin: EdgeInsets.only(top: R.dimen.dp30),
              child: Column(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  Text(
                    "违反群规者将被拉黑踢出该群",
                    style: TextStyle(
                        fontSize: R.dimen.sp13,
                        fontWeight: FontWeight.w600,
                        color: R.color.fffd4505),
                  ),
                  Text(
                    "我们长期维护社群环境，好的环境也需大家共同维护遵守。",
                    style: TextStyle(
                        height: 2,
                        fontSize: R.dimen.sp13,
                        fontWeight: FontWeight.w600,
                        color: R.color.ff333333),
                  ),
                ],
              )),
        ],
      ),
    );
  }
}
